package com.zenith.edu.po.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "EduForumReplyVO", description = "论坛回复VO")
public class EduForumReplyVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "主题ID")
    private Long topicId;
    
    @Schema(description = "父回复ID（楼中楼），0表示直接回复主题")
    private Long parentId;
    
    @Schema(description = "回复用户ID")
    private Long userId;
    
    @Schema(description = "用户类型：1-学生 2-教师")
    private Integer userType;
    
    @Schema(description = "回复内容")
    private String content;
    
    @Schema(description = "点赞次数")
    private Integer likeCount;
    
    @Schema(description = "是否最佳答案：0-否 1-是（仅问答类型）")
    private Integer isBestAnswer;
    
    @Schema(description = "附件URL列表（JSON数组）")
    private String attachmentUrls;
    
    @Schema(description = "子回复数量（楼中楼数量）")
    private Integer replyCount;
    
    @Schema(description = "状态：1-正常 2-隐藏 3-已删除")
    private Integer status;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}